var mongoose=require('../bootstrap/mongodb');
var booModel=require('./books');
var Schema=mongoose.Schema;
var shoucangModel= new Schema({
    userId:String,
    book_id:{
        type:Schema.Types.ObjectId,
        ref:'book'
    },
    author:String,
    colmun:String,
    money:String,
    name:String
})
module.exports = mongoose.model('shouCang', shoucangModel);